import request from '@/utils/request'

// 查询工况点（理论）列表
export function listConditionTheoretical(query) {
  return request({
    url: '/product/conditionTheoretical/list',
    method: 'get',
    params: query
  })
}

// 查询工况点（理论）详细
export function getConditionTheoretical(id) {
  return request({
    url: '/product/conditionTheoretical/' + id,
    method: 'get'
  })
}

// 新增工况点（理论）
export function addConditionTheoretical(data) {
  return request({
    url: '/product/conditionTheoretical',
    method: 'post',
    data: data
  })
}

// 修改工况点（理论）
export function updateConditionTheoretical(data) {
  return request({
    url: '/product/conditionTheoretical',
    method: 'put',
    data: data
  })
}

// 删除工况点（理论）
export function delConditionTheoretical(id) {
  return request({
    url: '/product/conditionTheoretical/' + id,
    method: 'delete'
  })
}
